package server.model.meeting;

import java.io.Serializable;
import java.util.ArrayList;

public class Group extends Participant implements Serializable {

	private int groupId;
	private ArrayList<Participant> participants;
	private User _toezichthouder;
	
	public Group(){
		participants = new ArrayList<Participant>();
	}

	public int getGroupId() {
		return groupId;		
	}
	
	public User getToezichthouder(){
		return _toezichthouder;
	}

	public void setGroupId(int groupId) {
		this.groupId = groupId;
	}
	
	public void setToezichthouder(User toezichthouder){
		_toezichthouder = toezichthouder;
	}

	public void addParticipant(Participant participant) {
		participants.add(participant);
	}

	public ArrayList<Participant> getParticipants() {
		return participants;
	}
}
